package com.project.collectAPI.entity.SuperMarket;

import lombok.Data;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;

/*二级分类*/
@Data
public class SuperMarketSecondClass extends SuperMarket {
    //public Map<String,String> secondArr=new HashMap<String,String>();
    /**
     * 过滤敏感词
     * */
    public static String filterWord(String inputString){
        String[] words=new String[]{"为您推荐","热销榜单","3件9折","99减40","99减30","年货街","海鲜礼券"};
        String target = inputString;
        boolean found = false;
        for (String s : words) {
            if (target.indexOf(s)!=-1) {
                return "null";
            }
        }
        return target;
    }

    //public static volatile ArrayList<String> secondArr=new ArrayList<>();
    public static volatile String[] secondArr=new String[]{};

    /*public static String[][] secondArr=new String[][]{
        {"水果蔬菜:fd","车厘子草莓:50:350:fd01","柑橘橙柚:50:400:fd02","瓜/奇异果:50:450:fd03","龙眼/枣/柿:50:500:fd04","热带水果:50:550:fd05","苹果梨蕉:50:600:fd06","箱装/果切:50:650:fd07","花果/茄瓜:50:700:fd08:Enter","根茎类:50:450:fd09","叶菜/结球类:50:500:fd10","豆制品:50:550:fd11","菌菇:50:600:fd12","调味菜:50:650:fd13","净菜:50:700:fd14"},
        {"肉禽鱼蛋:yd","品质肉店:50:400:yd01","牛羊肉:50:450:yd02","牛排:50:500:yd03","猪肉:50:550:yd04","家离:50:600:yd05","蛋类:50:650:yd06","鱼类:50:700:yd07:Enter","虾:50:550:yd08","冷冻水产:50:608:yd09","冰鲜水产:50:650:yd10","活鲜水产:50:708:yd11"},
        {"火锅季:hg","肉类食材:50:300:hg01","肉片/肉卷:50:350:hg02","毛肚血杂:50:400:hg03","丸滑蟹棒:50:450:hg04","鱼虾海鲜:50:500:hg05","蔬菜豆腐:50:550:hg06","火锅调味:50:600:hg07","酒水饮料:50:650:hg08","水果甜品:50:700:hg09:Enter","粉面主食:50:700:hg10"},
        {"快手菜:ks","烟火系列:50:300:ks01","名厨礼券:50:350:ks02","肉离菜着:50:400:ks03","海鲜菜着:50:450:ks04","卤味熟食:50:500:ks05","快餐盒饭:50:550:ks06","即食烤炸:50:600:ks07","速冻烤炸:50:650:ks08","鲜做面点:50:700:ks09"},
        {"熟食冻品:sd","名厨名点:50:350:sd01","饺子云香:50:400:sd02","汤圆年糕:50:450:sd03","包子点心:50:500:sd04","披萨饼类:50:550:sd05","肉肠培根:50:600:sd06","凉酱菜:50:650:sd07","即食烤炸:50:700:sd11:Enter","卤味小吃:50:550:sd08","快餐熟食:50:600:sd09","面条米粉:50:658:sd10","酒酿甜品:50:705:sd12"},
        {"酒水冲饮:js","量贩整箱:50:400:js01","白酒/黄酒:50:450:js02","茶饮料:50:500:js03","果汁/豆奶:50:550:js04","碳酸饮料:50:600:js05","运动/功能饮:50:650:js06","饮用水:50:700:js07:Enter","啤酒/预调酒:50:445:js08","葡萄酒:50:500:js09","洋酒:50:550:js10","即饮冲调咖啡:50:600:js11","谷物冲饮:50:650:js12","成人奶粉:50:705:js13"},
        {"乳品烘焙:hp","鲜奶:50:350:hp01","酸奶:50:400:hp02","乳酸菌:50:450:hp03","常温奶:50:500:hp04","常温酸奶:50:550:hp05","蛋糕点心:50:600:hp06","烘焙面包:50:650:hp07","奶酪/黄油:50:700:hp08"},
        {"粮油调味:ly","方便速食:50:400:ly01","大米杂粮:50:450:ly02","面粉面条:50:500:ly03","食用油:50:550:ly04","调味汁:50:600:ly05","盐糖酱料:50:650:ly06","快手调料:50:700:ly07:Enter","咸菜/罐头:50:656:ly08","南北干货:50:708:ly09"},
        {"休闲零食:xx","坚果炒货:50:330:xx01","肉干:50:400:xx02","饼干:50:450:xx03","糕点:50:500:xx04","薯片/米饼:50:550:xx06","巧克力:50:600:xx07","糖果口香糖:50:650:xx08","果冻甜品:50:703:xx09:Enter","果脯蜜饯:50:606:xx10","散装零食:50:657:xx11","本地特产:50:710:xx12"},
        {"营养冲调:yy","成人奶粉:50:350:yy01","谷物:50:400:yy02","休闲冲饮:50:450:yy03","咖啡:50:500:yy04","养颜滋补:50:550:yy05","参茸:50:600:yy06","维生素/钙片:50:650:yy07","蛋白粉益生菌:50:700:yy08:Enter","其他营养补充剂:50:650:yy09","茶叶/茶包:50:708:yy10"},
        {"母婴玩具:my","婴幼儿配方奶粉:50:400:my01","纸尿裤/腰贴式:50:462:my02","纸尿裤/短裤式:50:520:my03","特殊医学用途配方奶粉:50:585:my04","儿童/青少年奶粉:50:640:my05","辅食零食:50:650:my06","清洁护肤:50:700:my07:Enter","奶瓶餐具:50:606:my08","孕产必备:50:658:my09","玩具天地:50:708:my10"},
        {"纸品家清:zp","纸品湿巾:50:345:zp01","洗衣护衣:50:400:zp02","厨房清洁:50:450:zp03","卫浴清洁:50:500:zp04","家居清洁:50:550:zp05","杀虫驱蚊:50:600:zp06","清洁工具:50:650:zp07","一次性用品:50:700:zp08"},
        {"个护美妆:gh","卫生巾:50:350:gh01","口腔护理:50:400:gh02","洗发护发:50:450:gh03","沐浴清洁:50:500:gh04","面部护肤:50:550:gh05","身体护肤:50:600:gh06","儿童护理:50:650:gh07","男士护理:50:700:gh08:Enter","染发/造型:50:658:gh09","计生:50:708:gh10"},
        {"家居百货:jj","烹饪锅具:50:400:jj01","厨房配件:50:450:jj02","杯壶酒具:50:500:jj03","餐具饭盒:50:550:jj04","男孩玩具:50:600:jj05","女孩玩具:50:650:jj06","亲子益智:50:700:jj07:Enter","户外出行:50:560:jj08","浴室洗晒:50:508:jj09","洗晒收纳:50:607:jj10","文具用品:50:650:jj11","体育健身:50:700:jj12"},
        {"家纺服饰:jf","床上用品:50:400:jf01","毛巾浴巾:50:450:jf02","保暖衣/家居服:50:500:jf03","保暖配件:50:558:jf04","鞋子:50:610:jf05","内衣内裤:50:660:jf06","男女童袜:50:708:jf07:Enter","男装:50:657:jf08","女装:50:708:jf09"},
        {"家电数码:sm","清洁电器:50:450:sm01","电饭煲/电压力锅:50:500:sm02","厨用小电器:50:558:sm03","个护健康:50:610:sm04","Apple:50:660:sm05","手机通讯:50:708:sm06:Enter","大家电:50:658:sm07","电脑电交:50:708:sm08"},
        {"沃选购:wg","手机电脑:50:400:wg01","大家电:50:450:wg02","生活电器:50:500:wg03","厨房电器:50:550:wg04","影音娱乐:50:600:wg05","电教办公:50:650:wg06","调味速食:50:700:wg07:Enter","厨卫大电:50:408:wg08","个护健康:50:458:wg09","个护美妆:50:508:wg10","母婴玩具:50:558:wg11","家纺服饰:50:608:wg12","运动户外:50:658:wg13","宠物用品:50:708:wg14"},
        {"宠物之家:cw","宠爱精选:50:300:cw01","猫粮:50:350:cw02","猫零食:50:400:cw03","猫砂专区:50:450:cw04","狗粮:50:500:cw05","狗零食:50:550:cw06","清洁洗护:50:600:cw07","玩具专区:50:650:cw08","宠家上新:50:700:cw09"},
        {"鲜花馆:xh","玫瑰:50:300:xh01","百合:50:350:xh02","菊花:50:400:xh03","其他鲜花:50:450:xh04","绿植盆栽:50:500:xh05","永生花:50:550:xh06"},
        {"新年囤:ny","冬日火锅:50:350:ny01","跨年换新:50:400:ny02","新年囤货:50:450:ny03","新春装饰:50:500:ny04","置办年货:50:550:ny05","新年送礼:50:600:ny06","返多/出行:50:650:ny07","扫尘迎新:50:700:ny08"}
    };*/
}
